class SimpleVO():
    """ Base class for VOs """

    class __amf__:
        exclude = ("_key",)

    @property
    def id(self):
        try: 
            key = self.key()
            if key.has_id_or_name():
                return str(key.id_or_name())
            else:
                return ""
        except:
            return ""
